﻿The code attached are for use within Google Earth Engine (GEE), and cross-calibrate satellite imagery within the public domain accessible within GEE.
The three files function as follows:
DMSP.txt : Process the non-calibrated DMSP data, apply the calibration coefficients and crop and extract the total flux of the specific region.
DMSP_CAL.txt:Process the calibrated DMSP data and crop and extract the total flux of the specific region.
VIIRS_CAL.txt: Process VIIRS data as descrived in Cox et. al. 2020, and then calculate the total power emiter on especific area.
Cox, D. T., Sánchez de Miguel, A., Dzurjak, S. A., Bennie, J., & Gaston, K. J. (2020). National scale spatial variation in artificial light at night. Remote Sensing, 12(10), 1591.
All code written by Alejandro Sanchez de Miguel.
